package app.engine.entitys;

import app.game.enums.Chess;

/**
 * @Description TODO
 * @Date 2023/6/18 1:00
 * @Created by LYP
 */
public class EvaluationMode {

    public static int nextId = 0;

    public int id;

    public Chess pChess;

    public Chess[] pattern;

    public int[] values;

    public EvaluationMode(int id, Chess pChess, Chess[] pattern, int[] values) {
        this.id = id;
        this.pChess = pChess;
        this.pattern = pattern;
        this.values = values;
        nextId++;
    }
    public EvaluationMode(Chess pChess, Chess[] pattern, int[] values) {
        this.id = nextId;
        this.pChess = pChess;
        this.pattern = pattern;
        this.values = values;
        nextId++;
    }
}
